import pytest
from src2.Page.Page import Page
from selenium import webdriver

class Test_Case():

    @pytest.fixture()
    def driver(self):
        driver = webdriver.Edge()
        driver.maximize_window()
        yield driver
        driver.close()
    def test_01(self,driver):
        po = Page(driver)
        po.test_sougou()
if __name__ == '__main__':
    pytest.main()